#ifndef __CROSSFIRE_SPRITE
#define __CROSSFIRE_SPRITE

class CCF_Sprite
{
private:
  RECT m_screen;
  LPD3DXSPRITE m_sprite;
  LPDIRECT3DDEVICE9 m_device;      

public:
	CCF_Sprite(void);
  ~CCF_Sprite(void);

  void Initialize(LPDIRECT3DDEVICE9 device);
  LPDIRECT3DTEXTURE9 EasyLoad( const LPWSTR filename );

  void Begin();
  void Draw( LPDIRECT3DTEXTURE9 pTexture, float x, float y, float width, float height );
  void End();
};

#endif